home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-07-29 | 2.1 KB | 50 lines | [TEXT/R*ch] |
- About FSec Cleaner
-
- This is a program I threw together in ZBasic to check out my Host 2.0
- FileSections. It prompts you to open a FileSection, then checks each
- entry in that section. If the entry is marked deleted, it asks you if
- you want to delete the file pointed to by the entry.
-
- ------------------------------------------------------------------------
- ** Warning **
-
- If you tell FSec Cleaner you want to delete a file, it will indeed
- delete that file. To minimize accidents, this response requires a
- carriage return before it takes effect, so you can backspace over
- your "y" response and change it to "n". Incidentally, if you try to
- delete a file which doesn't exist, no problem. The program continues
- without a hiccup.
-
- ------------------------------------------------------------------------
-
- Respond to the deletion inquiry with either a "Y" or "N" (upper or lower
- case doesn't matter) and a carriage return.
-
- As it goes through the FileSection, it checks each entry to make sure it
- points to an existing file. If no file is found, the entry is marked
- deleted and the program displays the message
-
- Couldn’t find [path:filename]
-
- where [path:filename] is the location of the file contained in the
- FileSection. The program then asks if you want to set the entry as
- deleted (or you can elect to Quit processing the FileSection).
-
- When it has finished checking the FileSection, if any entries are marked
- for deletion FSec Cleaner asks if you want to back up the FileSection.
- If you answer "y" or "Y", FSec Cleaner renames the original file with an
- extension of ".BAK" and copies the not-marked-for-deletion entries to a
- newly-created FileSection with the original name. Then you are asked if
- you want to delete the backup file (the one with the .BAK extension).
-
- I wrote this to help me through the long days and nights until we get a
- Host 2.0-compatible version of FSP from Tom Konantz. It's no substitute
- for the flexibility of FSP, but it's better than nothing (and may be
- useful to those poor souls who've been frightened off of FSP ).
-
- Pete Johnson
- July 29, 1988
-
- Glassell Park BBS
- (213) 258-7649
-